package com.disease.api.service.entity.eumns;

public enum CodeEnum {

    PASS(0, "成功"),

    SUCCESS(200, "成功"),

    FAIL(400, "失败"),

    NOT_FOUND(404, "未找到");

    private Integer code;

    private String message;
    CodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
